openapi: 3.0.0

info:
  title: "API для сервиса KAvatar"
  version: "0.1"

paths:
  /avatar/{hash}.png:
    get:
      summary: Аватарка по хешу
      parameters:
        - in: path
          required: true
          name: hash
          schema:
            type: string
      responses:
        200:
          description: ok
          content:
            image/png:
              schema:
                type: string
                format: binary
